package strategy.improve;

import strategy.improve.Duck;

/**
 * @Author liangliangzhao
 * @data 2023/4/21 10:37
 */

public class PekingDuck extends Duck {

    public PekingDuck(String name){
        this.name = name;
        flyBehavior = new BadFlyBahavior();
    }

    @Override
    public void display() {
        System.out.println("北京鸭");
    }
}
